<div id="tasklist">

	<?php print $html->link($html->image('info.png', array('title'=>__('Info', true), 'class'=>'i')), '/users/change/', null, null, false); ?>

	<div id="tspec">
		<?php echo $html->link(__('Add new', true), '/tasks/add/'); ?>
		<?php echo $html->link(__('Remove closed tasks', true), '/tasks/removeClosed'); ?>
	</div>

	<div id="month">
		<?php if(isset($cal)) print $cal->getCurrentMonthView(); ?>
	</div>

	<div id="quickinfo">
		<?php
			if(isset($quickinfo['actual'])) print '<table><tr>' . 
				'<td>' . __('Actual', true) . ': <b id="qiActual">' . $quickinfo['actual'] . '</b></td>'
				. '<td>'. __('Overdued', true) . ': <b id="qiOverdued">'. $quickinfo['overdued'] . '</b></td></tr>'
				. '<tr>'
				. '<td>' . __('Waiting', true) . ': <b id="qiWaiting">' . $quickinfo['waiting'] . '</b></td>'
				. '<td>'. __('Maybe', true) . ': <b id="qiMaybe">' . $quickinfo['maybe'] . '</b></td></tr>'
				. '<tr>'
				. '<td>' . __('Total', true) . ': <b id="qiTotal">' . $quickinfo['total'] . '</b></td>'
				. '<td>'. __('Open', true) . ': <b id="qiOpen">' . $quickinfo['open'] . '</b></td></tr>'
				. '<tr><td colspan="2">' . __('Overdue points', true) . ': <b id="qiOdp">' . $quickinfo['odp'] . '</b></td></tr></table>';
		?>
	</div>
		
	<!--div id="tagcloud">
		<?php
		/*	foreach($tags as $t){
				print $html->link($t['tag'] . ' (' . $t['count'] . ')',
											'/tags/lista/' . $t['id'],
											array(
													'class' => 'taglink',
													'style' => 'font-size: ' . (($t['count']<10)?(8+$t['count']):(18)) . 'px;'
													) ,null, false);
			}*/
		?>
	</div-->

	<?php print $this->renderElement('tasksfa'); ?>

</div>
<div id="csikicsuki">
	<?php
		print $html->image('balra.gif', array('title'=>__('Change view', true)));
		print $html->image('jobbra.gif', array('title'=>__('Change view', true)));
	?>
</div>

<div id="whatsnext">
	<?php print $this->renderElement('whatsnext'); ?>
</div>